import { defineStore } from 'pinia';
import {cooperateConfigStates} from "/@/stores/interface";

export const cooperateStates = defineStore("cooperateStatus", {
    state:(): cooperateConfigStates => ( {
        owner:null,
        title:null,
        fileLogId:null,
        compileFileName:null,
        fileVisitSite:null,
        uploadTime:null,
        previewMode:null,  //预览模式
        touristMode:null   //游客模式
    }),
    persist: {
        enabled: true
    },
})
